versionCompare

final Integer versionCompare(String v1, String v2)

This method compares two versions of the app, v1 and v2, returning the result of this comparison as an Int value.